#include "Object.h"


CObject::CObject()
{
	ID = 0;
	PosObject.x = 0;
	PosObject.y = 0;
}

CObject::CObject(int id, int posX, int posY)
{
	ID = id;
	PosObject.x = posX;
	PosObject.y = posY;
}
int CObject::GetID()
{
	return this->ID;
}
D3DXVECTOR2 CObject::GetPosObject()
{
	return this->PosObject;
}
float CObject::GetX()
{
	return this->PosObject.x;
}
float CObject::GetY()
{
	return this->PosObject.y;
}